<template>
  <div class="hmcell">
    <div class="left">{{title}}</div>
    <div class="right">
      <span style="margin-right:5px">{{desc}}</span>
      <van-icon name="arrow" style=" vertical-align: -10%" />
    </div>
  </div>
</template>

<script>
export default {
  props: {
    title: {
      type: String,
      required: true
    },
    desc: {
      type: String
    }
  }
};
</script>

<style lang="less" scoped>
.hmcell {
  width: 100%;
  height: 60px;
  display: flex;
  justify-content: space-between;
  box-sizing: border-box;
  padding: 0 10px;
  align-items: center;
  border-bottom: 1px solid #ccc;

  .right {
    font-size: 12px;
    color: #999;
  }
}
</style>